var pinjie = function() {
    var chai = '<form class="layui-form" id="cfsetting" action="">'+
        '<div class="layui-form-item">'+
        '<label class="layui-form-label">金额拆分：</label>'+
        '<div class="layui-input-block">'+
        '<input type="text" id="huoqu" name="title" lay-verify="title" autocomplete="off" placeholder="请输入拆分的金额" class="layui-input">'+
        '</div>'+
        '</div>'+
        '<div class="layui-form-item" pane="">'+
        '<label class="layui-form-label">金额类型：</label>'+
        '<div class="layui-input-block">'+
        '<input type="checkbox" lay-filter="isTax1" id="isTax1" lay-skin="primary" name="isTax" value="1" title="含税金额" checked="">'+
        '<input type="checkbox" lay-filter="isTax2" id="isTax2" lay-skin="primary" name="isTax" value="0" title="未税金额">'+
        '</div>'+
        '</div>'+
        '<div class="layui-form-item">'+
        '<label class="layui-form-label">自动拆分：</label>'+
        '<div class="layui-input-block">'+
        '<input type="checkbox" id="shuilv" name="shuilv" lay-skin="primary" lay-filter="shuilv" title="不同税率">'+
        '<input type="checkbox" id="mingxi" name="mingxi" lay-skin="primary" lay-filter="mingxi" title="选择明细">'+
        '</div>'+
        '</div>'+
        '</form>';
    return chai;
};
var setting = function() {
    var set = '<form class="layui-form" id="setting" action="">'+
        '<div class="layui-form-item">'+
        '<label class="layui-form-label">默认收款:</label>'+
        '<div class="layui-input-block">'+
        '<input type="text" name="skr" lay-verify="title" autocomplete="off"  placeholder="请输入默认收款人" class="layui-input">'+
        '</div>'+
        '</div>'+
        '<div class="layui-form-item">'+
        '<label class="layui-form-label">默认复核:</label>'+
        '<div class="layui-input-block">'+
        '<input type="text" name="fhr" lay-verify="required" placeholder="请输入默认复核人" autocomplete="off" class="layui-input">'+
        '</div>'+
        '</div>'+
        '<div class="layui-form-item">'+
        '<label class="layui-form-label">开票限额:</label>'+
        '<div class="layui-input-block">'+
        '<input type="radio" lay-filter="radio" name="type" value="c" title="普" checked="">'+
        '<input type="radio" lay-filter="radio" name="type" value="s" title="专">'+
        '<input type="radio" lay-filter="radio" name="type" value="c1" title="电">'+
        '</div>'+
        '</div>'+
        /*//TODO：需要动态的生成*/
        '<div class="layui-form-item">'+
        '<label class="layui-form-label">设置限额:</label>'+
        '<div class="layui-input-block">'+
        '<select name="limit" lay-filter="select">'+
        '<option value="0">万位</option>'+
        '<option value="1">十万位</option>'+
        '<option value="2">百万位</option>'+
        '<option value="3">千万位</option>'+
        '<option value="4">亿位</option>'+
        '</select>'+
        '</div>'+
        '</div>'+
        '<div class="layui-form-item">'+
        '<label class="layui-form-label">默认税率:</label>'+
        '<div class="layui-input-block">'+
        '<input type="text" name="taxRate" lay-verify="title" autocomplete="off" placeholder="请输入默认税率" class="layui-input">'+
        '</div>'+
        '</div>'+
        '<div class="layui-form-item">'+
        '<label class="layui-form-label">默认编码:</label>'+
        '<div class="layui-input-block">'+
        '<input type="text" name="code" autocomplete="off" placeholder="请输入默认税收分类编码" class="layui-input">'+
        '</div>'+
        '</div>'+
        '</form>';
    return set;
};
var erroradjust = function () {
  var adjust =  '<form class="layui-form" id="setting" action="">'+
      '<div class="layui-form-item">'+
      '<label class="layui-form-label">金额调整：</label>'+
      '<div class="layui-input-block">'+
      '<input type="text" name="amount" lay-verify="title" autocomplete="off"  placeholder="增加：\'+\'，减少：\'-\'" class="layui-input">'+
      '</div>'+
      '</div>'+
      '<div class="layui-form-item">'+
      '<label class="layui-form-label">金额类型：</label>'+
      '<div class="layui-input-block">'+
      '<input type="checkbox" id="box1" name="amountType" lay-skin="primary" checked="" lay-filter="amountType" value="1" title="含税">'+
      '<input type="checkbox" id="box2" name="amountType" lay-skin="primary" lay-filter="amountType" value="0" title="未税">'+
      '<input type="checkbox" id="box3" name="amountType" lay-skin="primary" lay-filter="amountType" value="2" title="税额">'+
      '</div>'+
      '</div>'+
      '<div class="layui-form-item">'+
      '<label class="layui-form-label">固定金额：</label>'+
      '<div class="layui-input-block">'+
      '<input type="checkbox" id="checkf1" name="fixType" lay-skin="primary" lay-filter="fixType" value="1" title="含税">'+
      '<input type="checkbox" id="checkf2" name="fixType" lay-skin="primary" lay-filter="fixType" value="0" title="未税">'+
      '<input type="checkbox" id="checkf3" name="fixType" lay-skin="primary" lay-filter="fixType" value="2" title="税额">'+
      '</div>'+
      '</div>'+
      '<div class="layui-form-item">'+
      '<label class="layui-form-label">调整类型：</label>'+
      '<div class="layui-input-block">'+
      '<input type="checkbox" id="check1" name="autoType" lay-skin="primary" lay-filter="autoType" value="1" title="自动调整">'+
      '<input type="checkbox" id="check2" name="autoType" lay-skin="primary" lay-filter="autoType" value="0" title="手动调整">'+
      '</div>'+
      '</div>'+
      '</form>';

  return adjust;
};